import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';

export default async function a008(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	const cha = fd.data.node.querySelector('[data-feidao-del="pwd"]') as HTMLBaseFontElement;
	const pwd = fd.data.node.querySelector('[data-feidao-id="user_pwd"]') as HTMLInputElement;
	if (pwd.value !== '') {
		cha.classList.remove('display-n');
	} else {
		cha.classList.add('display-n');
	}

}
